import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	path:'/course/manage'
  },
  mutations: {
	getPath(state){
		state.path=window.sessionStorage.getItem("path");
		return state.path;
	},
	setPath(state,path){
		window.sessionStorage.setItem("path",path);
		state.path=path;
	}
  },
  actions: {
  },
  modules: {
  }
})
